/*
 * File Name : directory.cpp
 * Auther : dream.liuguobiao
 * Create Date : 2010-5-6
 * Last Edit : 2010-5-6
 */

#include "directory.h"

directory::directory()
:node(),son(NULL),type(0)
{
//type = 0;
//son = NULL;
}

int directory::get_type(){
  return type;
}

float directory::get_size(){
  return 4.0;
}

node *directory::get_son(){
  return son;
}

bool directory::set_son( node *new_son ) {
  son = new_son;
  return true;
}
